const store = require('./store')

// 修改store中的数据
const nameAction = { type: 'change_name', name: 'kebo' }
store.dispatch(nameAction)
console.log(store.getState())

// 修改counter
const counterAction = { type: 'add_number', num: 10 }
store.dispatch(counterAction)
console.log(store.getState())
